package net.rlair.esAnalyzeWord.model;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * 热分词实体模型.
 * @author yaoyi
 * @since 2018/03/19
 * @version 1.0.0.0
 */
public class HotWord {
    /**
     * filed.
     */
    private String id;

    /**
     * filed.
     */
    private String word;

    /**
     * filed.
     */
    private String status = "0";

    /**
     * filed.
     */
    private Date createTime;

    public String getId() {
        return id;
    }

    public void setId(final String id) {
        this.id = id;
    }

    public String getWord() {
        return word;
    }

    public void setWord(final String word) {
        this.word = word;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(final String status) {
        this.status = status;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "Asia/Shanghai")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }
}
